<template>
	<view>
		<view class="login-bg">
			<image src="../../static/common/loginhead.png" mode="widthFix" lazy-load></image>
		</view>
		<view>
			<view class="login-user">
				<view class="login-input flex-ac">
					<view class="num">+86</view>
					<input class="input" style="margin-left: 10rpx;" placeholder="请输入手机号码"></input>
					</view>
					<view class="login-secret flex-ac">
						<input class="secret" placeholder="请输入密码" type="password"></input>
						<button class="tip" style="border: none; color: #666666;">获取验证码</button>
					</view>
					<view style="margin-top: 30rpx;">
						<button type="default" style="color: #666666;font-weight: 600;"  @tap="openMy()">登&nbsp;录</button>
					</view>
				</view>
			</view>
			<view>
				<view class="login-method flex-sc-ac" @click="openLogin()">
					<view>账号密码登录</view>
					<view class="icon iconfont icon-jinru"></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			openLogin(){
				uni.navigateTo({
					url:'../login/login'
				});
			},
			openMy(){
				uni.navigateTo({
					url:'../login-my/login-my'
				});
			}
		}
	}
</script>

<style>
	.login-bg>image {
		width: 100%;
		/* height: 900rpx; */
	}

	.login-user {
		padding: 50rpx;
	}

	.login-input,
	.login-secret {
		border-bottom: 1rpx solid #eee;
		padding: 25rpx 0 20rpx 0;
	}

	.input {
		color: #333333;
		font-weight: 500;
	}

	.secret {
		color: #333333;
		font-weight: 500;
		flex: 1;
	}

	.tip {
		font-size: 28rpx;
	}

	.login-method {
		font-size: 30rpx;
	}
</style>
